﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Model
{
    public class University
    {

        [Key]
        public int Id { get; set; }

        [DisplayName("所在市编号")]
        [Required]
        public string CityNo { get; set; }

        [DisplayName("所在市名称")]
        [Required]
        public string CityName { get; set; }

        [DisplayName("学校代码")]
        [Required]
        public string Code { get; set; }

        [DisplayName("学校名称")]
        [Required]
        public string Name { get; set; }


        //[DisplayName("联系人")]
        //[Required]
        //public string PersonName { get; set; }

        //[DisplayName("手机")]
        //[Required]
        //public string CellPhone { get; set; }

        //[DisplayName("办公电话")]
        //public string TellPhone { get; set; }

        [DisplayName("备注")]
        public string Memo { get; set; }
    }
}
